﻿@model RepoMovies.Models.CreateMovieVm
@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<div>
   @using (Html.BeginForm())
   {
    <div>
        @Html.LabelFor(model => model.Title, htmlAttributes: new { @class = "control-label col-md-2" })
        @Html.TextBoxFor(model => model.Title)
    </div>

    <div>
        @Html.LabelFor(model => model.IsRewatchable, htmlAttributes: new { @class = "control-label col-md-2" })
        @Html.EditorFor(model => model.IsRewatchable)
    </div>
    <div>
        @Html.LabelFor(model => model.Description, htmlAttributes: new { @class = "control-label col-md-2" })
        @Html.TextBoxFor(model => model.Description)
    </div>
       <div>
           <input type="submit" value="Create" class="btn btn-default" />
       </div>

   }
</div>

